<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>My Project: InPerAlb.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_in_per_alb_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">InPerAlb.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_in_per_alb_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#ifndef PerAlb</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PerAlb</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifdef PerAlb_Serv</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ExtPA</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#else</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ExtPA extern</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#define ARQUIVO_PA &quot;Album.txt&quot;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define NARQUIVO_PA &quot;Album&quot;</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define TAMANHOREG_PA 74</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define EXTENSAO_PA &quot;.txt&quot;</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define VARIAVELCONTROLE_PA &#39;$&#39;</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &lt;stdlib.h&gt;</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#include &lt;string.h&gt;</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_in_vet_bit_8h.html" title="Interface do Modulo Vetor de Bits.">InVetBit.h</a>&quot;</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="struct_album___m.html">   49</a></span>&#160;<span class="keyword">struct </span><a class="code" href="struct_album___m.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">Album_M</a> {</div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="struct_album___m.html#a36a893e1baedde349619dfa6b12b1c4b">   50</a></span>&#160;    <span class="keywordtype">char</span> <a class="code" href="struct_album___m.html#a36a893e1baedde349619dfa6b12b1c4b">CpfUser</a>[12];   </div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="struct_album___m.html#adcb22c98295cbd6d8f5dd7870cfd9eaf">   51</a></span>&#160;    <span class="keywordtype">char</span> <a class="code" href="struct_album___m.html#adcb22c98295cbd6d8f5dd7870cfd9eaf">Codig</a>[11];     </div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="struct_album___m.html#a4a17ab25666dad13412702e30e4615e4">   52</a></span>&#160;    <span class="keywordtype">char</span> <a class="code" href="struct_album___m.html#a4a17ab25666dad13412702e30e4615e4">Nome</a>[16];      </div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="struct_album___m.html#a5ad67a6256f1ee51163012eb16419637">   53</a></span>&#160;    <span class="keywordtype">char</span> <a class="code" href="struct_album___m.html#a5ad67a6256f1ee51163012eb16419637">Descr</a>[31];     </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="struct_album___m.html#a8cf0acb386b60134a224ab37fc21a359">   54</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct_album___m.html#a8cf0acb386b60134a224ab37fc21a359">NumerFotos</a>;     </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="struct_album___m.html#a295a0595e679d57e66609a343eaed690">   55</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct_album___m.html#a295a0595e679d57e66609a343eaed690">Priva</a>;          </div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;};</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_album___m.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">Album_M</a> <a class="code" href="struct_album___m.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">Album_PA</a>;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;ExtPA <span class="keywordtype">int</span> PegaAlbum_PA(<span class="keyword">const</span> <span class="keywordtype">char</span>* CpfPass, <span class="keyword">const</span> <span class="keywordtype">char</span>*, <a class="code" href="struct_album___m.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">Album_PA</a>*);</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;ExtPA <span class="keywordtype">int</span> AtualizaAlbum_PA(<a class="code" href="struct_album___m.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">Album_PA</a>*);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;ExtPA <span class="keywordtype">int</span> DeletaAlbum_PA(<span class="keyword">const</span> <span class="keywordtype">char</span>*, <span class="keyword">const</span> <span class="keywordtype">char</span>*);</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;ExtPA <span class="keywordtype">int</span> <a class="code" href="_in_per_alb_8h.html#a28ad5d230f61d0f9a68a627d4c2d83e9" title="Responsavel por adicionar um novo album ao banco de dados.">AddAlbum_PA</a>(<a class="code" href="struct_album___m.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">Album_PA</a>*);</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="keywordtype">int</span> <a class="code" href="_in_per_alb_8h.html#a7a629056238ea49959532dbe6c187f0e" title="Responsavel por decrementar o numero de fotos desse usuario.">RetiraFoto_PA</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>* CpfPass, <span class="keyword">const</span> <span class="keywordtype">char</span>* CodigPass);</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;ExtPA <span class="keywordtype">int</span> AddFoto_PA (<span class="keyword">const</span> <span class="keywordtype">char</span>* CpfPass,<span class="keyword">const</span> <span class="keywordtype">char</span>* CodigPass);</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;ExtPA <span class="keywordtype">int</span> <a class="code" href="_in_per_alb_8h.html#a173319c431ab6c8c27520c7e91de772f" title="Responsavel por retornar o numero de fotos desse usuario.">NumeroFotosAlbum_PA</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>* CpfPass, <span class="keyword">const</span> <span class="keywordtype">char</span>* CodigPass);</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;ExtPA <span class="keywordtype">int</span> <a class="code" href="_in_per_alb_8h.html#aa6cf5c9f4e48810b2ab15ad0ec98ab97" title="Responsavel por atualizar os dados do usuario com os dados da struct que foi passada.">ListaPublicos_PA</a>(<a class="code" href="struct_album___m.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">Album_PA</a> *AlbumPass, <span class="keywordtype">int</span> Pulo);</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;ExtPA <span class="keywordtype">int</span> ListaAlbuns_PA (<a class="code" href="struct_album___m.html" title="Essa e a estrutura que classifica o usario no contexto modulo de persistencia usuario variaveis...">Album_PA</a> *AlbumPass, <span class="keywordtype">int</span> Pulo, <span class="keyword">const</span> <span class="keywordtype">char</span>* CpfPass);</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="_in_per_alb_8h.html">InPerAlb.h</a></li>
    <li class="footer">Generated on Wed Jul 4 2012 11:44:30 for My Project by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1.1 </li>
  </ul>
</div>
</body>
</html>
